//
//  NKBabyChangeHeadImageView.m
//  NiKi
//
//  Created by qiang chen on 16/6/23.
//  Copyright © 2016年 qiang chen. All rights reserved.
//

#import "NKBabyChangeHeadImageView.h"

@interface NKBabyChangeHeadImageView () {
    
}

@end
@implementation NKBabyChangeHeadImageView

- (IBAction)cancleBtnClick:(UIButton *)sender {
    [UIView animateWithDuration:0.25 animations:^{
        self.choseBg.transform = CGAffineTransformMakeScale(0.01,0.01);
    } completion:^(BOOL finished) {
        [self removeFromSuperview];
    }];
}

//tag 30 31
- (IBAction)phoBtnClick:(UIButton *)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(babyChangeHeadImageView:phoBtnClick:)]) {
        [self.delegate babyChangeHeadImageView:self phoBtnClick:sender];
    }
    [self cancleBtnClick:nil];
}


@end
